package com.xiangge.inner;

public class InnerClassDemo2 {
    public static void main(String[] args) {

    }

    public void test(){
        InnerfaceOne innerfaceOne = new InnerfaceOne() {
            @Override
            public void method() {
                System.out.println("abc");
            }
        };
        innerfaceOne.method();
    }

}
interface InnerfaceOne{
    public abstract void method();
}
